3.9.12 \(\int \frac {x}{\sqrt {-1+x} \sqrt {1+x}} \, dx\)

Optimal. Leaf size=15 \[ \sqrt {x-1} \sqrt {x+1} \]

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 15, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.062, Rules used = {74} \begin {gather*} \sqrt {x-1} \sqrt {x+1} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x/(Sqrt[-1 + x]*Sqrt[1 + x]),x]

[Out]

Sqrt[-1 + x]*Sqrt[1 + x]

Rule 74

Int[((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Simp[(b*(c + d*x)
^(n + 1)*(e + f*x)^(p + 1))/(d*f*(n + p + 2)), x] /; FreeQ[{a, b, c, d, e, f, n, p}, x] && NeQ[n + p + 2, 0] &
& EqQ[a*d*f*(n + p + 2) - b*(d*e*(n + 1) + c*f*(p + 1)), 0]

Rubi steps

\begin {align*} \int \frac {x}{\sqrt {-1+x} \sqrt {1+x}} \, dx &=\sqrt {-1+x} \sqrt {1+x}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 15, normalized size = 1.00 \begin {gather*} \sqrt {x-1} \sqrt {x+1} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x/(Sqrt[-1 + x]*Sqrt[1 + x]),x]

[Out]

Sqrt[-1 + x]*Sqrt[1 + x]

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 0.04, size = 29, normalized size = 1.93 \begin {gather*} -\frac {2 \sqrt {x-1}}{\sqrt {x+1} \left (\frac {x-1}{x+1}-1\right )} \end {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[x/(Sqrt[-1 + x]*Sqrt[1 + x]),x]

[Out]

(-2*Sqrt[-1 + x])/(Sqrt[1 + x]*(-1 + (-1 + x)/(1 + x)))

________________________________________________________________________________________

fricas [A]  time = 1.39, size = 11, normalized size = 0.73 \begin {gather*} \sqrt {x + 1} \sqrt {x - 1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(-1+x)^(1/2)/(1+x)^(1/2),x, algorithm="fricas")

[Out]

sqrt(x + 1)*sqrt(x - 1)

________________________________________________________________________________________

giac [A]  time = 1.20, size = 11, normalized size = 0.73 \begin {gather*} \sqrt {x + 1} \sqrt {x - 1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(-1+x)^(1/2)/(1+x)^(1/2),x, algorithm="giac")

[Out]

sqrt(x + 1)*sqrt(x - 1)

________________________________________________________________________________________

maple [A]  time = 0.00, size = 12, normalized size = 0.80 \begin {gather*} \sqrt {x -1}\, \sqrt {x +1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/(x-1)^(1/2)/(x+1)^(1/2),x)

[Out]

(x-1)^(1/2)*(x+1)^(1/2)

________________________________________________________________________________________

maxima [C]  time = 0.55, size = 7, normalized size = 0.47 \begin {gather*} \sqrt {x^{2} - 1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(-1+x)^(1/2)/(1+x)^(1/2),x, algorithm="maxima")

[Out]

sqrt(x^2 - 1)

________________________________________________________________________________________

mupad [B]  time = 2.65, size = 67, normalized size = 4.47 \begin {gather*} -\frac {{\left (\sqrt {x-1}-\mathrm {i}\right )}^2\,8{}\mathrm {i}}{{\left (\sqrt {x+1}-1\right )}^2\,\left (1+\frac {{\left (\sqrt {x-1}-\mathrm {i}\right )}^4}{{\left (\sqrt {x+1}-1\right )}^4}-\frac {2\,{\left (\sqrt {x-1}-\mathrm {i}\right )}^2}{{\left (\sqrt {x+1}-1\right )}^2}\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/((x - 1)^(1/2)*(x + 1)^(1/2)),x)

[Out]

-(((x - 1)^(1/2) - 1i)^2*8i)/(((x + 1)^(1/2) - 1)^2*(((x - 1)^(1/2) - 1i)^4/((x + 1)^(1/2) - 1)^4 - (2*((x - 1
)^(1/2) - 1i)^2)/((x + 1)^(1/2) - 1)^2 + 1))

________________________________________________________________________________________

sympy [C]  time = 2.77, size = 76, normalized size = 5.07 \begin {gather*} \frac {{G_{6, 6}^{6, 2}\left (\begin {matrix} - \frac {1}{4}, \frac {1}{4} & 0, 0, \frac {1}{2}, 1 \\- \frac {1}{2}, - \frac {1}{4}, 0, \frac {1}{4}, \frac {1}{2}, 0 & \end {matrix} \middle | {\frac {1}{x^{2}}} \right )}}{4 \pi ^{\frac {3}{2}}} + \frac {i {G_{6, 6}^{2, 6}\left (\begin {matrix} -1, - \frac {3}{4}, - \frac {1}{2}, - \frac {1}{4}, 0, 1 & \\- \frac {3}{4}, - \frac {1}{4} & -1, - \frac {1}{2}, - \frac {1}{2}, 0 \end {matrix} \middle | {\frac {e^{2 i \pi }}{x^{2}}} \right )}}{4 \pi ^{\frac {3}{2}}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(-1+x)**(1/2)/(1+x)**(1/2),x)

[Out]

meijerg(((-1/4, 1/4), (0, 0, 1/2, 1)), ((-1/2, -1/4, 0, 1/4, 1/2, 0), ()), x**(-2))/(4*pi**(3/2)) + I*meijerg(
((-1, -3/4, -1/2, -1/4, 0, 1), ()), ((-3/4, -1/4), (-1, -1/2, -1/2, 0)), exp_polar(2*I*pi)/x**2)/(4*pi**(3/2))

________________________________________________________________________________________